package com.cropdoctor.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Description: 【 角色-权限关联关系表 实体 】
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_role_permission_relation")
@ApiModel(value = "SysRolePermissionRelationPo",description = "角色_权限关联相关Po")
public class SysRolePermissionRelationPo {

    // ==================== FIELDS ====================

    /**
     * 角色ID
     */
    @TableField(value = "role_id")
    @ApiModelProperty(value = "角色id",example = "1")
    private Integer roleId;

    /**
     * 权限ID
     */
    @TableField(value = "permission_id")
    @ApiModelProperty(value = "权限id",example = "1")
    private Integer permissionId;

    // ==================== NON-PERSISTENT ====================

    // ==================== GET AND SET METHODS ====================

}
